package com.tyyw2.practice.service.impl;

import com.tyyw2.practice.service.IUserService;
import com.tyyw2.practice.entity.User;
import com.tyyw2.practice.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description : 实现类  //描述
 * @Author : islibaodong@sina.com  //作者
 * @Date: 2020-02-17 16:26  //时间
 */
@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    UserMapper userMapper ;

    @Override
    public List<User> selectList() {
        return userMapper.selectList(null);
    }
}
